import 'package:json_annotation/json_annotation.dart';

part 'xmm_video_info.g.dart';

@JsonSerializable()
class XmmVideoInfo {

  String? userId;
  String? title;
  String? mediaUrl;
  String? thumbUrl;
  String? middleThumbUrl;
  String? mediaPath;
  String? mediaType;
  int? sort;
  int? coins;
  bool? isLock;
  int? mediaId;


  XmmVideoInfo({
    this.coins,
    this.isLock,
    this.mediaId,
    this.mediaPath,
    this.mediaType,
    this.mediaUrl,
    this.middleThumbUrl,
    this.sort,
    this.thumbUrl,
    this.userId,
    this.title,
  });

  factory XmmVideoInfo.fromJson(Map<String, dynamic> json) => _$XmmVideoInfoFromJson(json);

  Map<String, dynamic> toJson() => _$XmmVideoInfoToJson(this);
}
